package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WebSocketMapper {
    Long getOrCreateConversation(Long userSId, @Param("userRId")String selectedContactId);

    void insertMessage(Long conversationId,Long senderId,String content);
}
